<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>AngularJs Model Bind</title>
</head>
<body ng-app ng-init="arrs=[0,1,2,3,4,5,6,7,8,9];users=[{id:1,name:'XiaoM'},{id:2,name:'DaBai'},{id:3,name:'LvXia'}]">
		<h2>有序数组</h2>
		<p>arrs={{arrs}}</p>
		<p><span ng-repeat="i in arrs">{{i}},</span></p>
		<h2>集合对象</h2>
		<p>users={{users}}</p>
		<table width="300px" border="1">
			<tr>
				<th>Id</th>
				<th>Name</th>
			</tr>
			<tr ng-repeat="user in users">
				<td>{{user.id}}</td>
				<td>{{user.name}}</td>
			</tr>
		</table>
<script type="text/javascript" src="http://lib.sinaapp.com/js/angular.js/angular-1.2.19/angular.min.js"></script>
</body>
</html>